/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.jcsvb;

import java.util.List;

/**
 *
 * @author luann
 */
public class CsvData {
    
    private List            dataSource;
    private CsvLayout       layout;
    
    public <T> CsvData(List<T> dataSource, CsvLayout layout) {
        this.dataSource = dataSource;
        this.layout = layout;
    }

    public <T> CsvData(List<T> dataSource) {
        this.dataSource = dataSource;
        this.layout = null;
    }
    
    public List getDataSource() {
        return dataSource;
    }

    public CsvLayout getLayout() {
        return layout;
    }

}
